<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>苏大在线考试系统</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="//fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="../../static/css/style.css" th:href="@{/css/style.css}" type="text/css" media="all" />
</head>
<body>
<div class="signinform">
    <h1>苏大在线考试系统</h1>
    <div class="container">
        <div class="w3l-form-info">
            <div class="w3_info">
                <h2>登录系统</h2>
                <form th:action="@{/users/log_in}" th:method="post">
                    <div class="input-group">
                        <span><i class="fas fa-user" aria-hidden="true"></i></span>
                        <input th:name="name" type="text" placeholder="用户" required="">
                    </div>
                    <div class="input-group">
                        <span><i class="fas fa-key" aria-hidden="true"></i></span>
                        <input th:name="password" type="password" placeholder="密码" required="">
                    </div>
                    <button class="btn btn-primary btn-block" type="submit">登录</button>
                </form>
                <p class="continue"><span>或创建用户</span></p>
                <p class="account">还没有账号？ <a th:href="@{/users/register}">注册</a></p>
            </div>
        </div>
    </div>
</div>
<script src="../../static/js/fontawesome.js" th:src="@{/js/fontawesome.js}"></script>
</body>
</html>